<%@page language="java" contentType="text/html;charset=utf-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html style="height: 100%">
<head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
    <style type="text/css">
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        #d1 {
            width: 95%;
            height: 5%;
            background-color: #EEEEEE;
            position: relative;
            /* padding-top: 2.3%; */
        }

        #d1-1 {
            width: 60%;
            height: 100%;
            float: left;
            padding-left: 40%;
            padding-top: 0.5%;
        }

        #d1-2 {
            width: 40%;
            height: 100%;
            float: right;
            padding-left: 13%;
            padding-top: 0.5%;
        }

        #d2 {
            width: 95%;
            height: 95%;
            padding-top: 1%;
            font-family: "宋体";
            font-size: 18px;
            padding-left: 14%;


        }

        .t1 {
            line-height: 55px;
            width: 100%;

        }

        .t1 select {
            height: 25px;
        }

        .t1 input {
            height: 25px;

        }

        .i1 {
            width: 100%;
        }

        .buttons {
            padding-left: 40%;
            padding-top: 1%;


        }

        .buttons input {
            background-color: #009688;
            width: 10%;
            height: 30px;
        }

        .td1 {
            text-align: right;

        }

    </style>
</head>
<body style="height: 100%">
<div id="d1">
    <div id="d1-1">详情</div>
    <div id="d1-2">
        <img src="../image/des.png" width="20px" height="20px">&nbsp;
        <a href="./house.html" target="i">
            <img src="../image/close.png" width="20px" height="20px">
        </a>
    </div>
</div>
<div id="d2">
    <table class="t1">
        <tr>
            <td class="td1">详细地址&nbsp;</td>
            <td colspan="5" class="control">
                <input type="text" name="" class="i1" value="${house.h_address}">
            </td>
        </tr>
        <tr>
            <td class="td1">租户姓名&nbsp;</td>
            <td><input type="text" name="" value="${house.l_name}"></td>
            <td class="td1">联系方式&nbsp;</td>
            <td><input type="text" name="" value="${house.l_phone}"></td>
            <td class="td1">到期日期&nbsp;</td>
            <td><input type="date" name="" value="${house.c_endTime}"></td>
        </tr>
        <tr>
            <td class="td1"> 房租价格&nbsp;</td>
            <td><input type="text" name="" value="${house.h_price}"></td>
            <td class="td1">面积&nbsp;</td>
            <td><input type="text" name="" value="${house.h_acreage}"></td>
            <td class="td1"> 朝向&nbsp;</td>
            <td><select name="hdir">
                <option>房间朝向</option>
                <option value="${house.h_direction==朝东?"checked":""}">朝东</option>
                <option value="${house.h_direction==朝西?"checked":""}">朝西</option>
                <option value="${house.h_direction==朝南?"checked":""}">朝南</option>
                <option value="${house.h_direction==朝北?"checked":""}">朝北</option>
            </select></td>
        </tr>
        <tr>
            <td class="td1">装修状态&nbsp;</td>
            <td><input type="text" name="" value="${house.h_fitment}"></td>
            <td class="td1">限住人数&nbsp;</td>
            <td><input type="text" name="" value="${house.h_limit}"></td>
            <td class="td1">是否双气&nbsp;</td>
            <td><input type="radio" name="hair" value="${house.h_isDoubleAir==1?"checked":""}">是
                <input type="radio" name="hair" value="${house.h_isDoubleAir==2?"checked":""}">否
            </td>
        </tr>

        <tr>
            <td class="td1">配套措施&nbsp;</td>
            <td colspan="5"><input type="text" name="" class="i1" value="${house.h_facility}"></td>
        </tr>

        <tr>
            <td class="td1">房屋照片&nbsp;</td>
            <td colspan="5" class="control"><textarea rows="5" cols="100%"></textarea></td>
        </tr>
        <!-- <tr>
            <td>出租状态</td>
            <td colspan="3" class="control">
                <select name="hrentStatus">
                    <option>出租状态</option>
                    <option value="1">已出租</option>
                    <option value="2">未出租</option>
                    <option value="3">停止出租</option>
                </select>
            </td>
        </tr> -->

    </table>
</div>
</body>
</html>